<!--推荐专题1 -->
<?php if (get_option('swt_sp') == 'Display') { ?>
<section class="sub-list">
<h3>推荐专题</h3>
<ul class="special">
<?php if (get_option('swt_sp1') == 'Display') { ?>

<?php $display_tags1 = explode(',', get_option('swt_special1') ); foreach ($display_tags1 as $special1) { ?>
<li>&gt;&nbsp;<a href="<?php echo get_tag_link_by_slug($special1); ?>"><?php echo get_option('swt_sptitle1') ?></a></li>
<?php } } else { } ?>

<!--推荐专题2 -->
<?php if (get_option('swt_sp2') == 'Display') { ?>
<?php $display_tags2 = explode(',', get_option('swt_special2') ); foreach ($display_tags2 as $special2) { ?>
<li>&gt;&nbsp;<a href="<?php echo get_tag_link_by_slug($special2); ?>"><?php echo get_option('swt_sptitle2') ?></a></li>
<?php } } else { } ?>

<!--推荐专题3 -->
<?php if (get_option('swt_sp3') == 'Display') { ?>
<?php $display_tags3 = explode(',', get_option('swt_special3') ); foreach ($display_tags3 as $special3) { ?>
<li>&gt;&nbsp;<a href="<?php echo get_tag_link_by_slug($special3); ?>"><?php echo get_option('swt_sptitle3') ?></a></li>
<?php } } else { } ?>

<!--推荐专题4 -->
<?php if (get_option('swt_sp4') == 'Display') { ?>
<?php $display_tags4 = explode(',', get_option('swt_special4') ); foreach ($display_tags4 as $special4) { ?>
<li>&gt;&nbsp;<a href="<?php echo get_tag_link_by_slug($special4); ?>"><?php echo get_option('swt_sptitle4') ?></a></li>
<?php } } else { } ?>
</ul>
</section>
<?php  } else { } ?>